<?php
/**
 * Created by PhpStorm.
 * User: lih
 * Date: 2018/4/22
 * Time: 20:09
 */

namespace frontend\api\action;

use Yii;
use yii\db\Query;
use common\models\User;

class Getmusiclist extends BaseAction
{
    const POST_PAGE_SIZE = 20;

    /**
     * @param $arrayData array
     * @param $returnData array
     * @throws \Exception
     */
    public function runAction($arrayData, &$returnData)
    {
        $paramCid = $this->trimNullParam(@$arrayData['cid']);
        $paramP = $this->trimNullParam(@$arrayData['p']);

        $returnData['code'] = '0';
        $returnData['msg'] = '';
        $nodeList = array();
        {
            $item = array();
            $item['title'] = "旁观者";
            $item['url'] = "http://192.168.1.111/assets/media/music/pangguanzhe.mp3";
            $item['coverurl'] = "http://192.168.1.111/assets/media/music/pangguanzhe.png";
            $nodeList[] = $item;
        }
        $returnData['list'] = $nodeList;
    }

}
